import request from '@/utils/request'

export default {

  //1.根据手机号发送验证码
  sendCode(phoneNum){
    return request({
      url: `/msm/send/${phoneNum}`,
      method: 'get'
    })
  },

  //2.注册用户
  registerUser(user){
    return request({
      url: `/uc/register`,
      method: 'post',
      data: user
    })
  },


}
